package cc.comac.mom.entity;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=true)
@TableName("equip_personnel_qualification_management")
public class EquipPersonnelQualificationManagementEntity extends BaseResultEntity{

	private static final long serialVersionUID = 1L;
	
	@TableField("personnel_qualification_id")
	@TableId(value = "personnel_qualification_id",type = IdType.INPUT)
	private long id;
	
	private String personName;
	
	private String jobNumber;
	
	private String department;
	
	private long equipDevId;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date effectiveTimeStart;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date effectiveTimeEnd;

	private String qualificationsStatus;
}
